import Vue from 'vue'
import App from './App.vue'
import router from './router'

import {
  Form, Field, Button, Icon, Tabbar, TabbarItem, NavBar, Toast,
  Cell,
  List
  , CellGroup
  , PullRefresh
} from 'vant'

Vue.use(PullRefresh)
Vue.use(CellGroup)
Vue.use(Cell)
Vue.use(List)
Vue.use(Toast)
Toast.setDefaultOptions({ duration: 1000 })
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Icon)
Vue.use(Button)
Vue.use(Form)
Vue.use(Field)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
